package com.scorpio.appuser.service;

import com.scorpio.appuser.domain.UserAddressEntity;

import java.util.List;

public interface UserAddressService {

    UserAddressEntity selectRecommendAddress(Long uid);

    UserAddressEntity selectByUser(Long uid,Long id);

    UserAddressEntity addAddress(UserAddressEntity entity);

    UserAddressEntity updateAddress(UserAddressEntity entity);

    List<UserAddressEntity> appList(Long uid);

    int deleteAddress(Long uid,Long id);
}
